GXDeletePrintFilePageRange
You can use theGXDeletePrintFilePageRange
function to delete a range of pages within a particular print file object.
void GXDeletePrintFilePageRange (gxPrintFile aPrintFile, long fromPageNumber, long toPageNumber);
aPrintFile
- A reference to the print file object from whose file you want to delete pages.
fromPageNumber
- The first page that you want to delete.
toPageNumber
- The last page that you want to delete.
DESCRIPTION
TheGXDeletePrintFilePageRange
function deletes a page or pages in a print file object within the range that you specify in thefromPageNumber
andtoPageNumber
parameters. The range of page numbers is inclusive. For example, deleting from page 2 to page 3 deletes both pages 2 and 3.Any changes you make to a print file are not permanent until you save the print file object with the
GXSavePrintFile
function.RESULT CODES
gxSegmentLoadFailedErr A required code segment could not be found, or there was not enough memory to load it. SEE ALSO
To save a print file object, see the description of theGXSavePrintFile
function in the next section.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help